﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="NETMovie.UI.WebMVC.Helpers" %>

<div class="treeview">
    <img src="../../images/DVD_Icon.jpg" alt="Main Menu" />
    <div style="padding-left: 3px;">
        <%= Html.SiteMapView("TreeId",
            m => String.Format("<a href=\"{0}\" title=\"{1}\">{2}</a>", m.Url, m.Description, m.Title)) %>
    </div>
</div>